# coding=utf-8
import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from ui import *


# pyinstaller -F【单个文件】 -w【不显示命令窗口】 -D【打包多个文件在dist中】 -i .\icon.ico -n GetBfans  show.py
# pyuic5 untitled.ui -o temp.py
# pyinstaller -w -D -i .\icon.ico -n app  showUI.py
class MyWindow(QMainWindow, Ui_Dialog):
    def __init__(self, parent=None):
        super(MyWindow, self).__init__(parent)
        self.setupUi(self)


if __name__ == '__main__':
    app = QApplication(sys.argv)
    myWin = MyWindow()
    myWin.show()
    sys.exit(app.exec_())
